package com.lcxw.hxzb.friendcircle.framework.config;

import com.lcxw.hxzb.friendcircle.project.system.domain.Proportion;
import com.lcxw.hxzb.friendcircle.project.system.mapper.ProportionMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.annotation.Resource;

@Configuration
public class BeansConfig {

    @Resource
    ProportionMapper proportionMapper;

    @Bean
    public Proportion getProp() {
         return proportionMapper.selectById(1);
    }

}
